import React, { Component } from 'react';
import {
  StyleSheet, View, Text,
} from 'react-native';
import ModalDropdown from 'react-native-modal-dropdown';

class ReactNativeModalDropdown extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  componentDidMount() {
    // this.setState({ daysList: list })
  }

  render() {
    return (
      <View style={styles.container}>
        <Text>ReactNativeModalDropdown</Text>
        <ModalDropdown options={['option 1', 'option 2']} />
      </View>
    );
  }
}
const styles = StyleSheet.create({
  container: {
    height: 70,
    borderBottomColor: '#bbb',
    borderBottomWidth: StyleSheet.hairlineWidth,
  },
});
export default ReactNativeModalDropdown;
